package com.y2.authprj.bean.auth.vo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.y2.authprj.utils.DateUtil;

public class ShowRoleByMulitTableVo {
	private Integer roleauthorityId;
	private Integer roleId;
	private Integer functionauthorityId;
	private Integer deleteFlag;
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createtTime;
	private String funName;
	private String sysName;
	public Integer getRoleauthorityId() {
		return roleauthorityId;
	}
	public void setRoleauthorityId(Integer roleauthorityId) {
		this.roleauthorityId = roleauthorityId;
	}
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public Integer getFunctionauthorityId() {
		return functionauthorityId;
	}
	public void setFunctionauthorityId(Integer functionauthorityId) {
		this.functionauthorityId = functionauthorityId;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
	public Date getCreatetTime() {
		return createtTime;
	}
	public void setCreatetTime(Date createtTime) {
		this.createtTime = createtTime;
	}
	public String getFunName() {
		return funName;
	}
	public void setFunName(String funName) {
		this.funName = funName;
	}
	public String getSysName() {
		return sysName;
	}
	public void setSysName(String sysName) {
		this.sysName = sysName;
	}
	
	public String getCreateDateStr(){
		return DateUtil.formate(getCreatetTime());
		 
	}
}
